import time


def get_time(f):
    t = time.localtime()
    return time.strftime(f, t)

